<?php 
@$name = $_REQUEST['name'];

@$mobile = $_REQUEST['mobile'];

@$qq = $_REQUEST['qq'];

require 'lib/db.php';

dbInsert("insert into contact (name,phone,qq) values(:name,:mobile,:qq)",array('name'=>$name,'mobile'=>$mobile,'qq'=>$qq));

echo json_encode(array('status'=>true));